package cc.vv.lkimagecomponent2.compressplugin;

public interface  OnCompressListener<T> {

  /**
   * Fired when the compression is started, override to handle in your own code
   */
  void onStart();

  /**
   * Fired when a compression returns successfully, override to handle in your own code
   */
  void onSuccess(T result);

  /**
   * Fired when a compression fails to complete, override to handle in your own code
   */
  void onError();
}